<!DOCTYPE html>
<html>
<head>
  <title>Ndcmine</title>
  <%= stylesheet_link_tag :all %>
  <%= javascript_include_tag :defaults %>
  <%= csrf_meta_tag %>
</head>
<body>
<div id="user_nav">
  <% if current_user %>
    Logged in as <%= current_user.login %>
    <%= link_to "Log out", log_out_path %>
  <% end %>
</div>
<%= yield %>

</body>
</html>
